
package src;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

import javax.swing.WindowConstants;
import javax.swing.border.LineBorder;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class JFrameMensajeSeccion extends javax.swing.JFrame {
	private JPanel jPanelmensajeseccion1;
	private JButton jButtonaceptarmensaje;
	private JLabel jLabel1;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrameMensajeSeccion inst = new JFrameMensajeSeccion();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public JFrameMensajeSeccion() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			{
				jPanelmensajeseccion1 = new JPanel();
				getContentPane().add(jPanelmensajeseccion1);
				jPanelmensajeseccion1.setBounds(5, 12, 720, 236);
				jPanelmensajeseccion1.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				jPanelmensajeseccion1.setLayout(null);
				{
					jLabel1 = new JLabel();
					jPanelmensajeseccion1.add(jLabel1);
					jLabel1.setText("EL numero de seccion no debe contener letras, y debe ser mayor que 0 hasta 20");
					jLabel1.setBounds(88, 95, 511, 15);
				}
				{
					jButtonaceptarmensaje = new JButton();
					jPanelmensajeseccion1.add(jButtonaceptarmensaje);
					jButtonaceptarmensaje.setText("Aceptar");
					jButtonaceptarmensaje.setBounds(438, 168, 63, 22);
				}
			}
			pack();
			this.setSize(765, 299);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
